﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Presentacion/Template.master" AutoEventWireup="true" CodeBehind="API_cargo_Consultar.aspx.cs" Inherits="UricaoWeb.Presentacion.API_cargo_Consultar" %>
<asp:Content runat="server" ID="Content1" ContentPlaceHolderID="TituloModulo">
            <h2>Cargos</h2>
</asp:Content>
<asp:Content runat="server" ID="Content2" ContentPlaceHolderID="OpcionesModulo">
            <div id='cssmenu'>
        <ul>
           <li class='has-sub'><a href="API_cargo_Agregar.aspx"><span>Agregar</span></a>
              
           </li>
           <li class='has-sub'><a href="API_cargo_Consultar.aspx"><span>Consultar</span></a>
              
           </li>
           <li class='has-sub'><a href="API_cargo_Modificar.aspx"><span>Modificar</span></a>
              
           </li>
        </ul>
    </div>
</asp:Content>
<asp:Content runat="server" ID="Content3" ContentPlaceHolderID="ContenidoDelModulo">
    <form id="form1" runat="server">
        <asp:ScriptManager ID="scriptManager" runat="server"></asp:ScriptManager>
        <h2>Consultar cargos</h2>
			<div class="wrapper" style="text-align: center">
                <asp:UpdatePanel ID="UDP" runat="server"> 
                  <ContentTemplate> 
               <br />
               <br/>
                 <asp:RadioButton ID="rbCargosGeneral" runat="server" 
                        GroupName="ConsultarCargos" Text="Todos:" AutoPostBack="true" OnCheckedChanged="RadioButtonCargos_CheckedChanged1" Checked="True"/> 
                <asp:RadioButton ID="RadioButton1" runat="server" 
                    GroupName="ConsultarCargos"  Text="Activos"  AutoPostBack="true" OnCheckedChanged="RadioButtonCargos_CheckedChanged1"/>
                <asp:RadioButton ID="rbCargosInactivos" runat="server" 
                        GroupName="ConsultarCargos" Text="Inactivos" AutoPostBack="true" OnCheckedChanged="RadioButtonCargos_CheckedChanged1"/>
                <br/>
                <br/>
                <asp:GridView ID="GridView_ConsultarCargo" runat="server"  CssClass="mGrid" Width="530px" Height="96px" ForeColor="#333333" 
                           GridLines="None"
                           AllowPaging="true" PageSize="10"
                           OnPageIndexChanging="GVConsultar_PageIndexChanging">
                        <AlternatingRowStyle BackColor="White" />
                        <EditRowStyle BackColor="#2461BF" HorizontalAlign="Center" />
                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                        <PagerSettings PageButtonCount="4" />
                        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#EFF3FB" HorizontalAlign="Center" />
                </asp:GridView>
               </ContentTemplate> 
               </asp:UpdatePanel>
               <br />
               <br />
               <br />
               <br />

			</div>
    </form>
</asp:Content>
